/*
 * ProblemEx.cpp
 *
 *  Created on: Aug 7, 2011
 *      Author: dino
 */

#include "ProblemEx.h"

ProblemEx::ProblemEx(Expression* problem) {
	this->addOperand(problem);
}

ProblemEx::~ProblemEx() {

}

bool ProblemEx::simplify() {
	return getOperand(0)->simplify();
}

void ProblemEx::toString(ostream& out) {
	out<<"=";
	getOperand(0)->toString(out);
}

